package com.qf.hello.spring.service.impl;


import com.qf.hello.spring.dao.UserDao;
import com.qf.hello.spring.service.UserService;

public class UserServiceImpl implements UserService {
    
    private UserDao userDao;

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public int deleteUserById(Integer id) {
        System.out.println("业务层删除用户");
        return userDao.deleteById(id);
    }
}
